package com.ruoyi.caigou.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购供应商报价对象 finer_buy_supplies_price
 *
 * @author lvql
 * @date 2024-10-31
 */
public class BuySuppliesPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 采购报价单据编号 */
    @Excel(name = "采购报价单据编号")
    private String buySuppliesCode;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer goodsId;

     private Integer number;

    /** 报价 */
    @Excel(name = "报价")
    private BigDecimal price;

    /** 税率 */
    @Excel(name = "税率")
    private Double tax;

//    商品名称
    private String goodsName;


    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setBuySuppliesCode(String buySuppliesCode)
    {
        this.buySuppliesCode = buySuppliesCode;
    }

    public String getBuySuppliesCode()
    {
        return buySuppliesCode;
    }
    public void setGoodsId(Integer goodsId)
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId()
    {
        return goodsId;
    }
    public void setNumber(Integer number)
    {
        this.number = number;
    }

    public Integer getNumber()
    {
        return number;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public Double getTax() {
        return tax;
    }

    public void setTax(Double tax) {
        this.tax = tax;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("buySuppliesCode", getBuySuppliesCode())
                .append("goodsId", getGoodsId())
                .append("number", getNumber())
                .append("price", getPrice())
                .append("tax", getTax())
                .toString();
    }
}
